﻿using AutoMapper;
using T_Material.API.Application.Commands.PurchaseCommand;
using T_Material.Domain;

namespace T_Material.API.ExtendAuto
{
    public class PurchaseAuto:Profile
    {
        public PurchaseAuto()
        {
            CreateMap<PurchaseCreatedCommand,Purchase>().ReverseMap();
            CreateMap<PurchaseUpdateCommand, Purchase>().ReverseMap();
            //CreateMap<PurchaseCreatedStateCommand, Purchase>().ReverseMap();
        }
    }
}
